const px2rem = require("postcss-px2rem");
const postcssRem = px2rem({ remUnit: 12 });

module.exports = {
  outputDir: 'dist',
  // 屏幕适配
  css: {
    loaderOptions: {
      postcss: {
        plugins: [postcssRem]
      }
    }
  }
}